-- GENERATED SPELL FOR [Thistle Lasher] --


function spell0_17343(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(31286,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17343', 4000, 1)
end

function Sorts_17343(pUnit, Event)
local choix_sorts_17343 = math.random(0, 0)
if choix_sorts_17343 == 0 then
pUnit:RegisterEvent('spell0_17343', 1, 1)
end
end

function mob17343_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17343', math.random(1500, 3000), 1)
end

function mob17343_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17343_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17343_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17343, 1, 'mob17343_Action')
RegisterUnitEvent(17343, 2, 'mob17343_Leave')
RegisterUnitEvent(17343, 3, 'mob17343_Kill')
RegisterUnitEvent(17343, 4, 'mob17343_Die')
